package com.stlm2.dems.user.dao;

import com.stlm2.dems.user.entity.Role;
import com.stlm2.core.base.BaseDao;

import java.util.List;

public interface RoleDao extends BaseDao<Role> {
    public List<Role> getByUserId(int userId);
    public Role getByName(String name);
    public Role getByLabel(String label);

}